package com.wuyi.tea.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuyi.tea.domain.pojo.Address;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;


public interface AddressMapper extends BaseMapper<Address> {
    @Select("select * from address where user_id=#{userId}")
    List<Address> listById(Address address);
}
